using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HoseAdapter.FileParser.Structure
{
    public sealed class Reject
    {
        private String mTimestamp;

        [FieldLength(6)]
        public String Timestamp
        {
            get { return mTimestamp; }
            set { mTimestamp = value; }
        }
        
        private String mMessageType;

        [FieldLength(2)]
        public String MessageType
        {
            get { return mMessageType; }
            set { mMessageType = value; }
        }
        
        private String mFirm;

        [FieldLength(3)]
        public String Firm
        {
            get { return mFirm; }
            set { mFirm = value; }
        }

        private String mRejectReasonCode;

        [FieldLength(2)]
        public String RejectReasonCode
        {
            get { return mRejectReasonCode; }
            set { mRejectReasonCode = value; }
        }

        private String mMessageText;

        [FieldLength(234)]
        public String MessageText
        {
            get { return mMessageText; }
            set { mMessageText = value; }
        }

        private Int32 mOffset;

        [FieldLength(4)]
        public Int32 Offset
        {
            get { return mOffset; }
            set { mOffset = value; }
        }
    }
}
